package l1j.opqlo.NewSystem.Extension;

import java.util.ArrayList;

import l1j.opqlo.Server.L1World.WorldNpc;
import l1j.server.server.model.Instance.L1NpcInstance;
import l1j.server.server.model.Instance.L1PcInstance;

public class PrivateRoomTemp {

	private static L1NpcInstance _waiterNpc;

	private static int _npcid = 5;
	private int _src_delay;
	private int _count;
	private int _mapid;

	private final ArrayList<L1PcInstance> _pcList = new ArrayList<L1PcInstance>();

	public void addPlayer(final L1PcInstance pc) {
		if (!this._pcList.contains(pc)) {
			this._pcList.add(pc);
		}
	}

	public void setRoom(final int mapid, final int delay, final int count) {
		this._mapid = mapid;
		this._src_delay = delay;
		this._count = count;
		_waiterNpc = WorldNpc.get().getNpcForMap(mapid, _npcid);
	}

}
